package com.TestDemo.Test2;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/16/9:48
 * @Description:
 * @Target: 栈溢出 -- 无限引用,
 */
public class StackOverflowErrorTest {

    // 无限引用
    public void a(){b();}
    public void b(){a();}



    public static void main(String[] args) {

        new StackOverflowErrorTest().a();



    }







}
